package com.netposa.datawarehouse.statistics.vo;

public class RulesVO {
   private String thresholdValue;
   private String thresholdSign;
   private Integer kPIType;
   private String kPIID;

   public String getThresholdValue() {
      return this.thresholdValue;
   }

   public String getThresholdSign() {
      return this.thresholdSign;
   }

   public Integer getKPIType() {
      return this.kPIType;
   }

   public String getKPIID() {
      return this.kPIID;
   }

   public void setThresholdValue(String thresholdValue) {
      this.thresholdValue = thresholdValue;
   }

   public void setThresholdSign(String thresholdSign) {
      this.thresholdSign = thresholdSign;
   }

   public void setKPIType(Integer kPIType) {
      this.kPIType = kPIType;
   }

   public void setKPIID(String kPIID) {
      this.kPIID = kPIID;
   }

   public boolean equals(Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof RulesVO)) {
         return false;
      } else {
         RulesVO other = (RulesVO)o;
         if (!other.canEqual(this)) {
            return false;
         } else {
            label59: {
               Object this$thresholdValue = this.getThresholdValue();
               Object other$thresholdValue = other.getThresholdValue();
               if (this$thresholdValue == null) {
                  if (other$thresholdValue == null) {
                     break label59;
                  }
               } else if (this$thresholdValue.equals(other$thresholdValue)) {
                  break label59;
               }

               return false;
            }

            Object this$thresholdSign = this.getThresholdSign();
            Object other$thresholdSign = other.getThresholdSign();
            if (this$thresholdSign == null) {
               if (other$thresholdSign != null) {
                  return false;
               }
            } else if (!this$thresholdSign.equals(other$thresholdSign)) {
               return false;
            }

            Object this$kPIType = this.getKPIType();
            Object other$kPIType = other.getKPIType();
            if (this$kPIType == null) {
               if (other$kPIType != null) {
                  return false;
               }
            } else if (!this$kPIType.equals(other$kPIType)) {
               return false;
            }

            Object this$kPIID = this.getKPIID();
            Object other$kPIID = other.getKPIID();
            if (this$kPIID == null) {
               if (other$kPIID != null) {
                  return false;
               }
            } else if (!this$kPIID.equals(other$kPIID)) {
               return false;
            }

            return true;
         }
      }
   }

   protected boolean canEqual(Object other) {
      return other instanceof RulesVO;
   }

   public int hashCode() {
      
      int result = 1;
      Object $thresholdValue = this.getThresholdValue();
      result = result * 59 + ($thresholdValue == null ? 43 : $thresholdValue.hashCode());
      Object $thresholdSign = this.getThresholdSign();
      result = result * 59 + ($thresholdSign == null ? 43 : $thresholdSign.hashCode());
      Object $kPIType = this.getKPIType();
      result = result * 59 + ($kPIType == null ? 43 : $kPIType.hashCode());
      Object $kPIID = this.getKPIID();
      result = result * 59 + ($kPIID == null ? 43 : $kPIID.hashCode());
      return result;
   }

   public String toString() {
      return "RulesVO(thresholdValue=" + this.getThresholdValue() + ", thresholdSign=" + this.getThresholdSign() + ", kPIType=" + this.getKPIType() + ", kPIID=" + this.getKPIID() + ")";
   }
}
